<template>
  <dt-modal-info ref='info' title="流程信息" :width='800'>
    <dt-grid ref="table" :columns="columns1" :list="list1"  height-resize />
  </dt-modal-info>
</template>

<script>
import columnOpt from '../opt/infoModalColumn'
import auditMgr from '@/biz/flowApproval/processAudit.js'
export default {
  data() {
    return {
      columns1: [],
      list1: [],
    }
  },
  mounted() {
    this.columns1 = columnOpt.options(this)
  },
  methods: {
    create(params) {
      auditMgr.process(params).then((res) => {
        this.list1 = res
      })

      console.log(this.list1, '111111111aaa1111')
      this.$refs.info.show()
    },
    hide() {
      this.$refs.info.hide()
    },
  },
}
</script>

<style>
</style>
